<div>
	<div class="pbody" data-title="{lang login_tip}" data-width="620" data-css-class="">
		<div class="span5 ml0 mt10">
			{if $ucopen&&$language=='zh_cn'}
			<ul id="loginTab" class="nav nav-tabs">
		       <li class="active" style="margin-left: 60px;"><a href="#ptx_login" data-toggle="tab">{lang pin_user}</a></li>
				<li><a href="#bbs_login" data-toggle="tab">{lang bbs_user}</a></li>
		    </ul>
			{/if}
			<div id="loginTabContent" class="tab-content">  
				<div class="tab-pane fade active in" id="ptx_login">
				<form id="login_form" action="{url user/login}" method="post" class="form-horizontal">
					<fieldset>
						<div class="control-group">
				            <label class="control-label" for="email">{lang user_email}</label>
				            <div class="controls">
				                <input class="span3" id="email" type="text" name="email" not-valid="{lang 500_email_not_valid:tip}">
				            </div>
				        </div>
						<div class="control-group">
				            <label class="control-label" for="password">{lang user_password}</label>
				            <div class="controls">
				               	<input class="span3" id="password" type="password" name="password" not-valid="{lang 500_password_not_valid:tip}">
				            </div>
				        </div>
				        {if $vcodesetting['login']}
				        <div class="control-group">
				            <label class="control-label" for="verifycode">{lang verifycode}</label>
				            <div class="controls">
				               	<input class="span1" id="verifycode" type="text" name="verifycode" remote="{url misc/vcheck}" remote-error="{lang 500_vcode:tip}">
				               	<img alt="verifycode" src="{url misc/vcode}" height="40"/>
			              		<a href="javascript:void(0);" data-action="vcodeRefresh">{lang verifycode_refresh}</a>
				            </div>
				        </div>
				        {/if}
						<div class="control-group">
				            <label class="control-label" for="remember"></label>
				            <div class="controls">
				               	<label class="checkbox">
					                <input id="remember" name="remember" type="checkbox" value="1" checked="checked">
					                {lang autologin_next}
					            </label>
				            </div>
				        </div>
				        <div class="control-group">
				        	<label class="control-label"></label>
				            <div class="controls">
				            <button type="submit" class="btn btn-success ajax_btn submit-btn" data-loading-text="{lang tip_process_login}">{lang login}</button>
				            <a href="{url user/forgetpassword}">{lang forget_password}</a>
				            </div>
				        </div>
					</fieldset>
				</form>
				</div>
				{if $ucopen&&$language=='zh_cn'}
				<div class="tab-pane fade" id="bbs_login">
				<form id="bbs_login_form" action="{url user/bbslogin}" method="post" class="form-horizontal">
					<fieldset>
						<div class="control-group">
				            <label class="control-label" for="bbs_username">{lang bbs_username}</label>
				            <div class="controls">
				                <input class="span3" id="bbs_username" type="text" name="bbs_username">
				            </div>
				        </div>
						<div class="control-group">
				            <label class="control-label" for="bbs_password">{lang user_password}</label>
				            <div class="controls">
				               	<input class="span3" id="bbs_password" type="password" name="bbs_password">
				            </div>
				        </div>
				        <div class="control-group">
				        	<label class="control-label"></label>
				            <div class="controls">
				            <button type="submit" class="btn btn-success submit-btn" data-loading-text="{lang tip_process_login}">{lang login}</button>
				            </div>
				        </div>
					</fieldset>
				</form>
				</div>
				{/if}
			</div>
		</div>
		<div class="span3 ml0">
			<ul class="unstyled">
				<li><strong>{lang other_login}</strong> {lang or} <strong><a href="javascript:void(0);" data-action="openRegisterDialog">{lang register}</a></strong></li>
				{loop $socialapis $key $vendor}
				{if $vendor['open']}
				<li><a href="{url social/go?vendor=$key}"><i class="loginico-$key"></i></a></li>
				{/if}
				{/loop}
			</ul>
		</div>
	</div>
</div>